import axios from 'axios'
// 获取学员统计
export function user(query) {
  return axios.post('/user/statics', {
    params: query,
    page: 1,
    limit: 100
  })
}

// xsw  文章统计
export function getTan(id) {
  return axios.post('course/chapter/statics', {
    page: 1,
    limit: 10,
    course_basis_id: id,
    chapter_status: ''
  })
}

export function getteach() {
  return axios.post('/teacher/statics')
}
